package cj.web.marriage.domain;
/*
 *  
 *  
*/
import java.io.Serializable;

import cj.web.admin.domain.DataTablePage;

/**
 * 结婚登记预约MarriageReg
 */
public class MarriageReg extends DataTablePage implements Serializable {

    /**
	 * 
	 */
	private static final long serialVersionUID = 4916245577783540074L;
	protected Integer id;
	protected String code;
	protected String man;
	protected String manCard;
	protected String woman;
	protected String womanCard;
	protected String regTime;
	protected Integer type;
	protected Integer addressId;
	protected Integer setMealId;
	protected String link;
	protected Integer status;
	protected String createAt;
	protected String memo;
	protected Integer manType;
	protected Integer womanType;
	protected String manRegistry;
	protected String womanRegistry;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getMan() {
		return man;
	}
	public void setMan(String man) {
		this.man = man;
	}
	public String getManCard() {
		return manCard;
	}
	public void setManCard(String manCard) {
		this.manCard = manCard;
	}
	public String getWoman() {
		return woman;
	}
	public void setWoman(String woman) {
		this.woman = woman;
	}
	public String getWomanCard() {
		return womanCard;
	}
	public void setWomanCard(String womanCard) {
		this.womanCard = womanCard;
	}
	public String getRegTime() {
		return regTime;
	}
	public void setRegTime(String regTime) {
		this.regTime = regTime;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public Integer getAddressId() {
		return addressId;
	}
	public void setAddressId(Integer addressId) {
		this.addressId = addressId;
	}
	public Integer getSetMealId() {
		return setMealId;
	}
	public void setSetMealId(Integer setMealId) {
		this.setMealId = setMealId;
	}
	public String getLink() {
		return link;
	}
	public void setLink(String link) {
		this.link = link;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getCreateAt() {
		return createAt;
	}
	public void setCreateAt(String createAt) {
		this.createAt = createAt;
	}
	public String getMemo() {
		return memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}
	public Integer getManType() {
		return manType;
	}
	public void setManType(Integer manType) {
		this.manType = manType;
	}
	public Integer getWomanType() {
		return womanType;
	}
	public void setWomanType(Integer womanType) {
		this.womanType = womanType;
	}
	public String getManRegistry() {
		return manRegistry;
	}
	public void setManRegistry(String manRegistry) {
		this.manRegistry = manRegistry;
	}
	public String getWomanRegistry() {
		return womanRegistry;
	}
	public void setWomanRegistry(String womanRegistry) {
		this.womanRegistry = womanRegistry;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = super.hashCode();
		result = prime * result
				+ ((addressId == null) ? 0 : addressId.hashCode());
		result = prime * result + ((code == null) ? 0 : code.hashCode());
		result = prime * result
				+ ((createAt == null) ? 0 : createAt.hashCode());
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		result = prime * result + ((link == null) ? 0 : link.hashCode());
		result = prime * result + ((man == null) ? 0 : man.hashCode());
		result = prime * result + ((manCard == null) ? 0 : manCard.hashCode());
		result = prime * result
				+ ((manRegistry == null) ? 0 : manRegistry.hashCode());
		result = prime * result + ((manType == null) ? 0 : manType.hashCode());
		result = prime * result + ((memo == null) ? 0 : memo.hashCode());
		result = prime * result + ((regTime == null) ? 0 : regTime.hashCode());
		result = prime * result
				+ ((setMealId == null) ? 0 : setMealId.hashCode());
		result = prime * result + ((status == null) ? 0 : status.hashCode());
		result = prime * result + ((type == null) ? 0 : type.hashCode());
		result = prime * result + ((woman == null) ? 0 : woman.hashCode());
		result = prime * result
				+ ((womanCard == null) ? 0 : womanCard.hashCode());
		result = prime * result
				+ ((womanRegistry == null) ? 0 : womanRegistry.hashCode());
		result = prime * result
				+ ((womanType == null) ? 0 : womanType.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (!super.equals(obj))
			return false;
		if (getClass() != obj.getClass())
			return false;
		MarriageReg other = (MarriageReg) obj;
		if (addressId == null) {
			if (other.addressId != null)
				return false;
		} else if (!addressId.equals(other.addressId))
			return false;
		if (code == null) {
			if (other.code != null)
				return false;
		} else if (!code.equals(other.code))
			return false;
		if (createAt == null) {
			if (other.createAt != null)
				return false;
		} else if (!createAt.equals(other.createAt))
			return false;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		if (link == null) {
			if (other.link != null)
				return false;
		} else if (!link.equals(other.link))
			return false;
		if (man == null) {
			if (other.man != null)
				return false;
		} else if (!man.equals(other.man))
			return false;
		if (manCard == null) {
			if (other.manCard != null)
				return false;
		} else if (!manCard.equals(other.manCard))
			return false;
		if (manRegistry == null) {
			if (other.manRegistry != null)
				return false;
		} else if (!manRegistry.equals(other.manRegistry))
			return false;
		if (manType == null) {
			if (other.manType != null)
				return false;
		} else if (!manType.equals(other.manType))
			return false;
		if (memo == null) {
			if (other.memo != null)
				return false;
		} else if (!memo.equals(other.memo))
			return false;
		if (regTime == null) {
			if (other.regTime != null)
				return false;
		} else if (!regTime.equals(other.regTime))
			return false;
		if (setMealId == null) {
			if (other.setMealId != null)
				return false;
		} else if (!setMealId.equals(other.setMealId))
			return false;
		if (status == null) {
			if (other.status != null)
				return false;
		} else if (!status.equals(other.status))
			return false;
		if (type == null) {
			if (other.type != null)
				return false;
		} else if (!type.equals(other.type))
			return false;
		if (woman == null) {
			if (other.woman != null)
				return false;
		} else if (!woman.equals(other.woman))
			return false;
		if (womanCard == null) {
			if (other.womanCard != null)
				return false;
		} else if (!womanCard.equals(other.womanCard))
			return false;
		if (womanRegistry == null) {
			if (other.womanRegistry != null)
				return false;
		} else if (!womanRegistry.equals(other.womanRegistry))
			return false;
		if (womanType == null) {
			if (other.womanType != null)
				return false;
		} else if (!womanType.equals(other.womanType))
			return false;
		return true;
	}
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("MarriageReg [id=").append(id).append(", code=")
				.append(code).append(", man=").append(man).append(", manCard=")
				.append(manCard).append(", woman=").append(woman)
				.append(", womanCard=").append(womanCard).append(", regTime=")
				.append(regTime).append(", type=").append(type)
				.append(", addressId=").append(addressId)
				.append(", setMealId=").append(setMealId).append(", link=")
				.append(link).append(", status=").append(status)
				.append(", createAt=").append(createAt).append(", memo=")
				.append(memo).append(", manType=").append(manType)
				.append(", womanType=").append(womanType)
				.append(", manRegistry=").append(manRegistry)
				.append(", womanRegistry=").append(womanRegistry).append("]");
		return builder.toString();
	}
}